package com.ncst.backend.service;

import com.ncst.backend.domain.InspectionRequest;
import java.util.List;

/**
 * 检验申请服务接口
 */
public interface InspectionRequestService {
    InspectionRequest getById(Integer id);
    List<InspectionRequest> getAll();
    List<InspectionRequest> getByCondition(InspectionRequest inspectionRequest);
    List<InspectionRequest> getByRegisterId(Integer registerId);
    List<InspectionRequest> getByPage(Integer pageNum, Integer pageSize);
    List<InspectionRequest> getByPage(Integer pageNum, Integer pageSize, InspectionRequest inspectionRequest, String startDate, String endDate);
    Long countAll();
    Long countByCondition(InspectionRequest inspectionRequest);
    boolean save(InspectionRequest inspectionRequest);
    boolean saveBatch(List<InspectionRequest> list);
    boolean updateById(InspectionRequest inspectionRequest);
    boolean removeById(Integer id);
    boolean removeByIds(List<Integer> ids);
    boolean refundById(Integer id);
    boolean batchRefund(List<Integer> ids);
}